const MessageType = {
    ADDFRIEND: "addFriend",
    CONFIRMFRIEND: "confirmFriend",
    CREATEGROUP: "creategroup",
    DESTROYGROUP: "destroygroup",
    FRIENDMESSAGE: "friendmessage",
    MESSAGELIST: "messagelist",
    GROUPMESSAGE: "groupMessage",
    // 语音通话相关
    VOICECALL_OFFER: "voicecall_offer",
    VOICECALL_ANSWER: "voicecall_answer",
    VOICECALL_ICE: "voicecall_ice",
    VOICECALL_HANGUP: "voicecall_hangup",
    VOICECALL_REQUEST: "voicecall_request",
    VOICECALL_ACCEPT: "voicecall_accept",
    VOICECALL_REJECT: "voicecall_reject"
};

module.exports = { MessageType }; 